home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950528-19950726 / 000196_news@columbia.edu_Sun Jun 25 19:34:20 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  1KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA24272
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 25 Jun 1995 15:50:39 -0400
  3. Received: by apakabar.cc.columbia.edu id AA00739
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 25 Jun 1995 15:50:37 -0400
  5. Newsgroups: comp.protocols.kermit.misc
  6. Path: news.columbia.edu!sol.ctr.columbia.edu!howland.reston.ans.net!agate!news.ucdavis.edu!csus.edu!netcom.com!jhurwit
  7. From: jhurwit@netcom.com (Jeffrey Hurwit)
  8. Subject: Testing external errorlevel in MSK 3.14 scripts?
  9. Message-Id: <jhurwitDAquD8.1Mo@netcom.com>
  10. Organization: Organization?  What organization?
  11. X-Newsreader: TIN [UNIX 1.3 950520BETA PL0]
  12. Date: Sun, 25 Jun 1995 19:34:20 GMT
  13. Lines: 11
  14. Sender: jhurwit@netcom23.netcom.com
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. Is it possible to test the errorlevel of a program launched from a MSK
  18. 3.14 script with the "run" command, so that the script can respond to
  19. the outcome?  I want to have a script run PKUNZIP -t to check the
  20. integrity of a downloaded archive, and signal the sending kermit to
  21. resend if it fails.  I saw some mention of a \v(errorlevel) variable
  22. and a few IF ERRORLEVEL commands in the help file, but it was not clear
  23. if these refer to the exit status of externally run programs.
  24.  
  25. Thanks in advance for any help,
  26.  
  27.                                         Jeff